package com.example.cloud_consumer.service.impl;

import com.example.cloud_consumer.service.HelloFeignService;
import org.springframework.stereotype.Component;

/**
 * @Description: <p>
 * Company: aspire
 * </p>
 * @Author: gjj
 * @Date: 2019/8/15
 */
@Component
public class HelloFeignFallbackImpl implements HelloFeignService {

    @Override
    public String hello() {
        return "error";
    }

    @Override
    public String helloTimeOut() {
        return "timeOut";
    }
}
